#pragma once
namespace acl
{
namespace mqtt
{
class password_auth
{
public:
	password_auth ()
	{

	}
	virtual ~password_auth ()
	{

	}
	virtual bool check (const std::string &username,
			const std::string &password)
	{
		(void) username;
		(void) password;
		if (password == "mqtt")
			return true;
		else
			return false;
	}
	virtual bool check (const std::string &password)
	{
		if (password == "mqtt")
			return true;
		else
			return false;
	}
};
}
}
